package me.firstapp.service.shop;

import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.shop.DistributeCall;

public interface DistributeCallService {

	/**
	 * 分页查询订单发货提醒
	 * 
	 * @param pageNo
	 * @param pageSize
	 * @param searchParams
	 * @param sortParam
	 * @param sortType
	 * @param apiClientId
	 * @return
	 */
	Page<DistributeCall> findDistributeCallPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Long apiClientId);

	/**
	 * 新增或更新订单发货提醒
	 * 
	 * @param memberId
	 * @param orderNo
	 * @param apiClientId
	 * @return
	 */
	DistributeCall addUpdateDistributeCall(Long memberId, String orderNo, Long apiClientId);

	/**
	 * 处理订单发货提醒
	 * 
	 * @param orderNo
	 */
	DistributeCall executeHandleCall(String orderNo, Long apiClientId);

}
